import listBuilder from "@/comps/list/listBuilder";

/*
lb.add("sn","单号",80)
lb.add("item","物品",80)
lb.add("type","入库类型",80)
lb.add("isCanceled","是否冲红",80)
lb.add("num","数量",80)
lb.add("numCanBack","可退库数量",80)
lb.add("batchCode","批次号",80)
lb.add("batchPrice","批次价格",80)
lb.add("cost","总价",80)
lb.add("heapCode","堆号",80)
lb.add("pos","库位号",80)
lb.add("applier","领用人",80)
lb.add("usage","用途",80)
lb.add("link","Link",80)
lb.add("linkTo","LinkTo",80)
lb.add("note","备注",80)
lb.add("createBy","创建人ID",80)
lb.add("createName","创建人",80)

*/
export default function () {
    let lb = listBuilder()
    lb.add("id","#",80)
    lb.addAction(120).setAlignCenter()
    lb.add("sn","单号",280).setCopy()
    lb.add("item","物品",180).setListIsObject("text")
    lb.add("type","入库类型",180).setListIsObjectName()
    lb.add("isCanceled","是否冲红",180).setListIsSwitch()
    lb.add("num","数量",120)
    lb.add("numCanBack","可退库数量",120)
    lb.add("batchCode","批次号",180)
    lb.add("batchPrice","批次价格",120)
    lb.add("cost","总价",120)
    lb.add("heapCode","堆号",180)
    lb.add("pos","库位号",120)
    lb.add("applier","领用人",180)
    lb.add("usage","用途",180)
    lb.add("note","备注",80)
    lb.add("createBy","创建人ID",80)
    lb.add("createName","创建人",80)
    return lb.headers
}